revert spawn test, use msys dll and sort instead