Pass ldflags to linker when building schemaIDGUID.

This is necessary for Debian, which sets LDFLAGS for build hardening.