Fix makefile, can't be building empty directories
Fix GList/GSList return value type calculation