HPCC-11798 Allow MAXLENGTH on BUILD (forward compatibility)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>