rename option to copylibs and clean up