Make generated paths not use local dirs