swapped LIBS and LFLAGS names