Add detection of lib/lib64 directory