oss: add a workaround for pre-OSSv4 implementations