Update osx makefile
Fix test to check for bitcode wrapper magic number