fixed build version retrieval.