Use cstring instead of string.h
Update makevars
Fix for windows