[PATCH 3/3] selftests/nolibc: support out-of-tree builds