get the build target right