Applied some checking to polygons before inwards offsetting (Contributed by Rodrigo).  Also changed compilation to make use of two CPUs