Don’t warn on unused functions
Replace main() in preparation for native compile

If we’re going to eventually get minisatp to compile natively on the Mac (not just in emscripten), we will want our own main.