make it possible to build cross platform
fixed cpack
Made a separate config file for cpack
forgot license
Merge branch 'package'