Make sure that `extldflags` is quoted so that LDFLAGS containing spaces won't break the build command. Close #1994