[system] Fix warnings