Added links in the src dir, and a dummy lib dir, so it will build with ino.
Added fixes to make it build period.