Platform changes

SDL Contenta 5.1 includes several changes to platform support.