Fixed console launch support for OS X
Fixed terminal launch support