add missing -L to LDFLAGS