Fixed a couple of tests that were broken on Mono (causing the travis-ci build to fail).
The Sys.command function now provides a better error message when called on an unsupported platform.