add LINUX_CFLAGS and chois of thread library