change build/ to tmp/ as the ts compilation directory