Conditionally enable compilation using TS in the event the target environment does not support NTS.