Fix cmake script for libkqueue