Compiling examples when library is added as a submodule.