TESTS: Fix issues with dylib testing on ARM