[builder] Add backward compability for  old version of gwf format