make it compatible with 4.2

2 changes:

* LINKTYPEMAP
* circular links are not allowed