Add -Wno-deprecated-register option

Otherwise clang 3.5 complains.