drivers/qe: Move conditional compilation to Makefile