Made Old Prototype Windows compatible

Changed "bzero()" to memset();
Changed "random()" to rand()