Add minecraft version in output jars.
Fix several warnings.