CMake: Link gpc to regioncurv. Fixes linking problem in GCC.