cmake: fix qsumo-build on cmake lower than 3.0