fixed compiler flags under Windows
fixed compiler flags under Windows