build: Add _Pragma macro to disable deprecated declaration warnings