Try to detect APIWrapper startup failures
Fix useCrashHandler on Linux

Previous, calls would always fail (on Linux) as they would try to
call a native function using the API wrapper binary, which wasn't
actually started at the point useCrashHandler has to be called.