Added rules to build static library from source files.