unix: compile: enable warning
linux: fix compilation warning