Fix problem flags and switch to -Ofast