Modified pom to build correctly on windows
This fixes classpath generation: on Windows the regexp for path separator is semi-colon. Consequently the path separator replacement must be done differently when building on Windows.
Implementation makes use of profiles to set a regexp expression.
Tested and verified on Windows and Mac.