Rebuild required modules