Use -O4 instead of -Ofast

Clang doesn't support the -Ofast flag