Fix some compiler warnings and small errors on code.
Fixed compiler errors caused by merge error.
Fix compiler error if LZO is not installed.
Fix compiler warnings.
lzo.cmake: don't use the same symbol for two different tests
temporarily disable lzo compression
don't include the file that 1) not present everywhere 2) not used anyway
compilation failure on Windows

VS doesn't like #ifdefs inside a macro expansion. move them outside
use ENUM not ULONG for innodb-compression-algorithm command-line option
compilation failure on Win64

cannot use &ulint_var (where ulint == unsigned __int64)
where (ulong *) is expected (in uncompress() and in "%lu")
merge the compilation fixes from 10.0-FusionIO
Merge remote-tracking branch 'origin/10.1' into 10.1-serg-merge