Nawaz says change in mindset could eliminate extremism