more sophisticated code is needed if we actually have build-phase prereqs