(this is a workaround, i'm too lazy to find where they double up the LDFLAGS when they link their applications).