improved arch packages detection, fix #1770
add missing SMF detection code, update #1771
NEXT: 1.19.2 with 1771
improve reading ruby architecture, fallback to slow version, fix #1751
NEXT: 1.19.2 with 1751