build: also allow building static libraries for e.g. Android/iOS

5 jobs for android-package in 14 minutes and 48 seconds