seperate the LIBS from CFLAGS and LFLAGS in 3