Treat compiler warnings no longer as errors in debug builds

Closes #158