remove sdlmain

This is needed for successful compilation on archlinux
Needs testing with other operating systems before merging