fixed invalid cast exception

fixed invalid cast exception
also updated facebook.dll hint path

PR for #13