fixed detection of dietlibc version strings like 0.31-1.2