Change require to late bind only when compiling