Trying to get extension_dir set properly.