Bugfix

* Add processor architecture defines
* Fix getting global plugins path on Linux