use tsc from nodejs if it's available