Made multi-threads optional (use the -Pfast option) as multi-threading seems dodgy under Windows