changes required to create working linux build

Linux build works for x86-64 in release mode with all optimizations
ubuntu amd 64 shared object for mysql 5.6.20