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