Remove osx and windows compile option