delete old pthread lib and fix makeallvc10.bat script