Build: make sure that -DBUILD_SHARED_LIBS:bool=off is honoured to build only the...