This only works in 64bit systems. To ensure that this works under 32 bit as well we need to use a registry value instead like we've done here: 

https://github.com/GPII/universal/pull/193/files