Made the Java classpath platform-agnostic

Was hard-coded to use ":" as a path separator. Updated to use a macro to
do the right thing on Windows or osx/linux.