Remove compiler module dependency from core