Fix: Follow symlinks when constructing lib path.

This fix allows TaskJuggler to correctly find its libraries when run trough a symlink. Without this patch, the current code will construct a path based on the symlink's location and thus yield an error in most cases.