Fix preinstall command