Configure cleanly on Mac OS X without flags

On Mac OS X, GCC is ancient and doesn't understand -std=c++0x.  To fix
this, we can prefer the system default C compiler (which happens to be
clang on Mac OS X).  We also need to break the "-std=gnu++0x" flag
into CXXFLAGS because clang doesn't like C++ flags when run in C mode.
Merge pull request #5 from lambda/master

Configure cleanly on Mac OS X without flags
Initial version of CMake build system
Use find_package for some libs
Fixes for Gentoo
Don't print warning on cygwin for -pthread
Add APPNAME defines, some other minor improvements
Fix definitions for mfsmount
next step converting build to CMake
missing config.h.in; remove that file from .gitignore
Merge lamvak's version to LizardFS master
converting build system to cmake: make install works
Merge pull request #1 from marcinsulikowski/master

Some fixes to cmake build system for LizardFS
CMake configuration mostly converted - need to revise config.h.in now
Experimental Debian package building using CPack
config.h.in appended with symbols extracted from source using prototype symbol extractor (currently in branch symbols)
crude init of symbol analysis
amend partial commit
Install path of the mfs cgi files fixed
Merge pull request #2 from marcinsulikowski/master

Initial version of .deb package building using CPack