added static library target, fixed compilation issue, upgraded project settings for xcode 6