Added CFLAGS before LIB flags