add -Wno-error=deprecated-declarations to work around #11