Fix cmake when BUILD_SHARED_LIBS is not defined
Fix cmake when BUILD_SHARED_LIBS is not defined

Change-Id: I05248f63c26ef9c5e89deb4493feb60827afaafd

aldebaran/libqi,aldebaran/libqi,vbarbaresi/libqi,aldebaran/libqi,bsautron/libqi