Fix: Resolve symlinks when constructing lib path.

This fix allows TaskJuggler to find its libraries even when run
trough a symlink.