Remove dash in front of the secure flag.
Make build script ready for Git 2