CTableBuildPath fix

Failed to include this in last commit: Make CTableBuildPath return the current build path if no dir is specified.