Change compiler settings, apparently fixes build problems at some machines