Added -mwindows flag to windows server build