Additions & fixes to make nixpy compile on win 64-bit