fix issue on ubuntu requireGlobals and make a proper gzip file