Eliminate stacktrace when compiling on linux (#1076)* Eliminate stacktrace when compiling on linux* catch unsupported platform at exe path (commit: e6f36a8)