Man charged over homemade submachine guns