[builder] fix few occurrences of removed method

commit d58d0525eb8ef71975ad75431e3de14581dc45ed broke few files