some tweaks to get the local zip module to compile