Fix inline statement not working in FreeBSD

I had issues on FreeBSD, the symlinks was not create. I investigate and find out the inline statement in the function fileExists() returned an error.