Fix test of apk build type.