Classpath adjustments Linux/Windows
Move Gradle variable replacement to main build file (doesn't work for plugins otherwise)