run pre-install script for build