Improvements on build docs script.