Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: bsdsocket.o:(.bss+0x0): multiple definition of `socketbases'; main.o:(.bss+0x2792c0): first defined here
Emulators form a class by themselves. So, they should be moved to applications/.