Determining the directory using late static bindings.