[PATCH] selftests: add build/cross-build dependency check script