Added macro definations for startBuildActivity and end Build Activity