Changes to make Papilio Loader and Logic Analyzer work under linux. Probably breaks Windows.