more Mac fixes

test ruby version for 1.9 above