Added a script to create mac dmg images
Corrections to inner paths in libs
Corrected the bundling script