using hxlibc and adding "static" to ExternalInterface functions