fcm make: build: handle adjacent cyclic dependency

Now detects adjacent cyclic dependency correctly.
Merge pull request #125 from matthewrmshin/fix-make-build-adjacent-cyclic

fcm make: build: handle adjacent cyclic dependency