Resolve "configure fails unless --enable-developer is specified"

Ondřej Surý requested to merge 351-fix-with-cmocka=path-build into master

This is the second part that fixes manual path for cmocka.

Closes #351 (closed)

Merge request reports