superbuild workaround : build icub as static library

superbuild workaround for bug https://github.com/robotology/icub-main/issues/39