Separate out the core emulator into libnes in the Xcode project