This allows us to compile the client correctly on Windows

mkdir on Windows (MingW at least) does not know the permissions as Linux
knows them.