Win64 fixes

closes #68