The arch part of PKG_PATH is improved to adapt to all architectures.