removed duplicate definition in Compat.cpp