Initial attempt at clang 3.5 port.

Hi,

I took Dale's commit and fixed a few things. The port compiles and packages fine.