Fix build flags.