We should only add imports if we actually compiled anything, this is what caused the internal issue despite the file in question not having any functions opted-in to compilation.