Fix build with julia 1.0
Adjust library cmake check for new syntax, and fix the version check in juliaserver.cpp to use the new API with 1.0
Differential Revision: https://phabricator.kde.org/D14962