Check for Xinerama and properly load libraries

The configure.ac and Makefile.am were not properly checking for Xinerama and not linking the libraries during compilation. This has been fixed. The app really should optionally build without Xinerama and just not use it when not available, but this at least fixes the immediate issue. Fixes #3.