Child recruitment 'was war crime'