configure: Use awk to find strings in binaries

QNX's grep doesn't support searching in binary files.

BusyBox's tr doesn't support -dc '[:print:]' to remove non-printable
characters from a binary.