configure.ac: Add -Wno-deprecated-declarations flag