Update for building cfacter for el5

Yes, don't include libraries directly in the compiler flags. Add that to LIBFACTER_PLATFORM_LIBRARIES in lib/CMakeLists for the platform that needs it.