tweak common build file.