Updated build system for paper.