Try to use the actual name of the targets in the link stage.
Merge branch 'master' of http://gitserver.ixsystems.com:/git/repos/freenas-build/freenas