CMake: Detect attempts to BULD_SHARED_LIBS on non-Linux and fail.