dependency fix to avoid rebuilding unless necessary