HPCC-20708 Ensure index filenames are correctly expanded by BUILD
If the name of an index used in a build statement was dependent on
__TARGET_PLATFORM__ the compiler could fail with an internal error.
Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>