Updated preinstall to be only required on windows