add preinstall command to installdeps