build fix exclude dotNet from linux, remove deprecated files