adjusted makefiles and build scripts to support building plugins in Linux