Added a preinstall script patch for fixing issue #27

This fixes issue #27 which a lot of people including myself experienced.