Fix ARM build
Merge pull request #76 from Sonicadvance1/arbitrary-exit

Fix ARM build