build: Compile with -Wall -Wunused only on linux.