CONNECT-321 Remove erroneous linker flags in CFLAGS