Fix compile errors on SDL2 configuration
Delete unused files