Snow Leopard: Fix build of test program