Added -Werror and -pedantic. Fixes #6.