fcm make: build: handle adjacent cyclic dependency

Now detects adjacent cyclic dependency correctly.

Fix #124.