Use /bin/sh when running list-compatible-inputs

This removes the assumption that list-compatible-inputs has execute
permissions, which may not be true in some installations.