modos: Clean 64-bit issues.