Fixing preprocessor locations

Adding a plugins folder and fixing preprocessor locations.