(CFACT-127) Fix searching lib64 only for 64-bit builds.

The lib64 directory should only be searched if it's a 64-bit build and
it is present.