Need -shared to create the shared object.
Fixed another typo.