Enable Makefile to compile Java sources.
Use ExtUtils::Command instead of Unix-centric mkdir flags.
Fix warnings.
Merge remote-tracking branch 'upstream/master'