OSX: catch window creation errors.
update OSX build-script: build complete dep stack