(CMAKE ROSE) only build BinQ if Qt is enabled
(CMAKE ROSE) cross-platform build of AST rewrite

This commit is hopefully a more cross-platform friendly solution
to the errors we've encountered while trying to compile
midLevelRewriteInterface.h on Visual Studio.