Fix initializedb cannot work under windows issue