Switch from compat.h to shared compat_s.h

https://github.com/oboroc/compat_s/