continue install after building c extension fails

Using the same approach as sqlalchemy, create a custom build_ext which
runs in a try/except block, allowing installation to continue even if
building the solver failed.