Make prompt work on FreeBSD
Generate MAKEFLAGS correctly on Darwin/FreeBSD
Ignore OS X java setup on FreeBSD
Merge remote-tracking branch 'origin/master'