President urges media, society to play role in nation-building