build: redirect which stderr to /dev/null