Use -Werror only for debug builds. Fixes #10.