Allow building LuaD as a shared library

Partial fix for issue #37 (Makefile changes only).

I also set make clean to use wildcards, as even with debug it generates a file called "libluad.json" and not "libluad-d.json" etc. Not sure what was the intended method.