Fixed several path tests failing in 32 bit mode on 64 bit machines.