Fix compiling ObjFWTest as .framework on macOS