Fix directory specification deprecation warnings.