Add rules for make shared or static library (Default : shared)