cmake: exclude -pthread from Emscripten default build