solved the readlinkat type conflict error on mac osx