Handle case when LDFLAGS = ""

Sometimes Xcode puts empty string to LDFLAGS when there are no flags. This changeset handles this situation and prevents empty string from being added to array of flags.