[cmake] allows switching la backend per switch
fixes a couple of warnings