OS X Mountain Lion Compatibility

rom_tool and make_cdn_cia can now be compiled in OS X