make: rules to generate *.so on *NIX platforms