Added missing package_dir parameter.