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