CMake: inspector: create MacOS X bundle
scripting: fix missing variable initialization