fix some warnings
call Perl explicitly with include path
XCode framework build for libbrowserid
fix some more warnings
more Xcode build fixes