revert trying to use LD_SHARED to compile