Remove extra build flags.