Fixes for sorting build versions