Add check DO_POST_BUILD to CMakeList.txt files