Make lua-binding runable for Mac OS