Fix dependencies in Makefile
Fix warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
Fix warning: pointer targets in passing argument 2 of ‘write_string_to_file’ differ in signedness
Fix warnings: ignoring return value of ‘fread’, declared with attribute warn_unused_result