Installing libraries to lib64 on 64-bit systems

Changed install path from lib to lib64 for 64-bit systems.