Fixed Exports (Also affects Windows users)

Some exports were generated wrong by my Hook generator. These were only
recently caught on Linux by the compiler. Because of this fix, calling
conventions were fixed as well and the plugin is now smaller than usual
but works the same old way.