Fix build warnings being treated as errors