Fix buildsystem for windows where PC_JREEN_VERSION does not exist
Merge branch 'stable-0.6'