before removing pthread juste because windows SUCKS