Fix issue 306

Fixes problem where building on Linux will fail because the Mac JRE plugins dir has invalid case in its name - it should be 'PlugIns' instead of 'Plugins'.