add build on preinstall