[#30] Use gtac instead of tac on osx

tac is not available out of the box so mac users must install
coreutils to get it.
Check that tac|gtac is available