Fix the build for the usual configuration (not DISABLED_SHIELD).
"make test" compiles the CONFIG_POLL_NONE configuration but doesn't run any test cases (not sure which ones are expected to pass yet).