macosx: Framework compilation fix about lua.