linux update

keep key reference
enable fPIC