"readlink -f" is not portable to osx
use absolute path instead of relative path
Merge pull request #659 from jameshilliard/fix-autogen-portability

"readlink -f" is not portable to osx