Remove deprecated print_mac to fix warnings