Fixed Java backend building & installation on Windows/mingw32

Maven2 on Windows provides a mvn.bat file that causes cabal to complain about missing 'mvn' when building and installing.