Fixed program build.

* Replacing getProgramBuildInfo for getBuildInfo.
* Unnecessary parameter in build was removed.