Shared code now compiles for both 32bit and 64bit in release mode.