ship build: add #@mainifyme [NAME] directive

If NAME is not provided, then "main" will be used.