Build cab with -threaded on all platforms

Fixes #27