Set up new, clean, non Apple main.

Mac will soon not need to redefine main.

Also, linking all of these is a pain.