Include the common sources when building statically