fix build problems on solaris
Merge branch 'v8-stable-solaris' into v8-stable
Merge branch 'v8-stable'