Update circle build script to avoid early exit