link with libXinerama
Remove unused variables