remove windows specific flags