gjk compile fixes