During a visit to a military academy, North Korean leader Kim Jong-un has called for building a strong, modern army "to perfectly cope with a war".