Fixed make file and warnings in the fork program