cmake: add a variable that shows whether bundled build or not