Make sure build path is not too long.

This prevents later failure due to nullfs not allowing long paths.