Fix warnings automatic

Forked and removed compiler warnings flag.
It looks like this was flag was intentionally mac-only. Should it stay this way?