move overlay to earlier in CMakeLists