Return build path from main `optimize` function