openjpeg2: Build both static and shared.