Switch to use bat file for configure