It requires prerequisites and awareness, not exactly intelligence.
The funny thing about ants is that they are simple creatures. But they build things greater than themselves. This is merely a result of their collective actions, not from their individual capabilities. So in that regard they are not intelligent individually.