Fix for -D arguments to passed to JVM instead of as a main argument.