Use our forks for ref and ffi

Fixes http://teampulse.telerik.com/view#item/281071