Add ppport.h for backward compatibility
Use ppport.h
Avoid XS_INTERNAL - it does not compile on 5.14
Provide XS_INTERNAL if it is not defined elsewhere