Use Makefile instead of build.py. Rename xcd_cd to xcd.
Use 4 spaces for indent in xcd.c.
Use proper dereference in SQL function in xcd.c.
Make sure to pass the same SQLite flags to all compilation commands in Makefile.
Do some cleanup and activate binding in xcd.c.