This MR adds a new target for a shared library version, which I used for the OpenCL version from ComputeFstatResamp.