Merge pull request #4 from hwhw/master

add support for enums and unions
Remove repeated code blocks in ffi-cdecl.lua and fix Makefile dependencies
Merge pull request #5 from thotypous/master

Remove repeated code blocks in ffi-cdecl.lua and fix Makefile dependencies
update to latest nightly build script
Update koreader-nightlybuild.sh