added build-depends.sh
fixed: open with O_CREAT in second argument needs 3 arguments