Snow Leopard: create_dummy_dependency function to create a dummy based on the type required