Fixed luajit linking on os x