Build with -Werror (includes fixes for current warnings). Resolves #13