Contact angle hysteresis on nano-structured surfaces