Match #1758 build option changes
https://github.com/enetheru/godot-cpp/commit/d634a5f8c49414cea86efa0d8cb25095064d292c#diff-e2225522e55739f1533a3ce9eee58324ac9c192c8ba30065067964347d22fdacL471
(cherry picked from commit b195a51c6c7d0f53a00061dacd7e05979fe03d92)