Change file case, added some wstring casts
Added LIBS := -ldl to Makefile