Dynamical nucleus-nucleus potential and incompressibility of nuclear matter