GEOM fixes

Hey, I made small fixes to three files, which where obviously bugs, I was now able to build it successfully against the OCE-0.12 branch, for now I had the Sketcher wrap disabled, but probably works as well since there aren't any undefined symbols anymore (-Wl,--no-undefined). Also needed to link against lib dl.