Swapped LIBS->LDLIBS