fixed #version parse regression on Mac since e3ba06e