integrating cpanm code into compile process