Fix exit code for successful builds