Disable warning for deprecations (because -Werror forces this to not compile)