Merge pull request #35 from morevnaproject/master

Fixes for Linux and OSX build scripts. Also fixes plugins loading/