Fix build setting for windows