CMake: fix JAR package generation
Merge pull request #104 from valnoel/fix_java_packaging

CMake: fix JAR package generation