Fix cmake build with not remove doc directory for build in source