I thought I had the same problem as others here of not being able to click on sprinklers. Then I was lucky enough to spawn the sprinkler recipe, which is required to build the structure.
At least for me it was rather unintuitive and I thought the game was bugged. I think this should be listed in the hover info of the sprinkler.