fixed mongoclient linking again #869

cmake is occasionally infuriatingly inconsistent