Give simple test code a return type (default int isn't valid in C99) and make some fallback tools executable.