[cmake] add system dependencies