Update build system.
Change the way we loop through all photos.