Make the library work on Linux

Running 'make' in the src file will create a .so file in the "output" directory.
Hopefully, the Android build wasn't broken (it can't be broken if ANDROID is always defined on it).