cmake: set dependency on gmp(xx) for shared lib