cmake: rename INCLUDE_DIRS to INCLUDE_DIR in guards
cmake: add lib
cmake: add common