This was needed because gomobile can't use a main package wheras this is required to make a normal shared C library.