fix: cmake warning: missmatching if/endif