[PATCH] selftests: fix build failure with NOLIBC