Remove Facebook as a library, add as a dependency

Fix #336