Fix static projects for macosx - executable mac type