core: fixed cmake for python and julia shared libraries.
core: fixed cmake for python and julia shared libraries.

GPMueller/spirit,Disselkamp/spirit,GPMueller/spirit,spirit-code/spirit,spirit-code/spirit,GPMueller/spirit,GPMueller/spirit,spirit-code/spirit,Disselkamp/spirit,spirit-code/spirit,Disselkamp/spirit,Disselkamp/spirit,GPMueller/spirit,spirit-code/spirit,Disselkamp/spirit,Disselkamp/spirit,spirit-code/spirit,GPMueller/spirit