added a tgt version for javac, cuz my distro sucks and wouldn't build without it, also added multi os support, namely linux and win.