HPCC-11333 Add platform support for BUILD(MAXLENGTH)

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