Fix building of libqc- libraries

Change-Id: I0cb81f24f25b8e8193f3770543f0bbe5f80b3bde