fixed horrible hack that would break on windows for generating bundles