CMakeList works on Linux and Windows, still needs manual compile and setting right JVM options though