Initial bug fixes for Mach-O loading and simple test target.