Return build path from main `optimize` function
Merge pull request #38 from Stuk/return-build-path

Return build path from main `optimize` function