Improved make to build sub modules