CMakeLists: Move linker flags to CFLAGS to please travis