Add -Werror only for development builds

This is little ugly solution, but it shows the idea.

Also added -Wunused which can be disabled by default.