Making it all work with Windows.

Bug in Quartus causes the java location to not be well defined when using
the nios2_command_shell in Windows, but works fine in linux.

Problem reported to Altera.