Don't make debug builds by default and added debug target
Silence errors in settings.c