Correct installation path for the lib.

In the ros independent packages, this test is realized
in the SETUP_PROJECT routine.
Without this test, the libirary may be installed in the
wrong folder.