merged .spec and finalize_bundle.py files from mac lin platform into one.