Fix crosscompiling: jsoncpp and relativ pathname