Improve build speed considerably by building emulator core once

A minor API change was made to accomodate this.