Auto-detect release mode (aka decouple RELEASE_VERSION from VERSION_ABI)