Removed -m32 compile flags to build 64bit binary, added -fPIC compile
option to remove linker error about shared object file