added win64 support