Fix building of pages