made standalone version truly standalone. its ready to be a shared object now.