waf: parse LDFLAGS from python