ceres: Enable shared, disable Werror.

GCC4.8 makes a warning which is then turned into a compilation error.