Fixed compile errors in RNEAlgorithm