Add missing linker flags required for LuaJIT on 64-bit Mac OS X.

This was brought up in #1294.