Startup .s is not added to build. Wout it, no _main symbol can be found and entry point is set uncorrectly