clean up build warning messages