Adds testcase for NOT on negative numbers. Fixes #605.
Restores FFI support on Linux.
Makes luajit-build work on Darwin/GCC. Fixes Buffer incompat.