MacOSX: switched to appbundler for building distribution files (Haavar Valeur)

See #1665