Fix issue with lib not working when run as 64bit.