missing $LDFLAGS, thanks to ZeMaria