Move libmd.so.5 to the proper place and add missing lib32 entry.