Properly set build status