build external module