modules: added a hack to work-around the buggy 64bit runtime on OS X Leopard