Generate both .a and .so