Repaired plugin loading / compiling for Linux