new rules for new Fedora compiling enviro
including stdlib.h for exit and explicit casting as (char*)
including stdlib.h for rand