Add option to update sources from repositories before build.