Isolated the generation of static libraries as a platform capability