move WITH_POLLY option before add_subdirectory(tools)