Fixed some makefile issues.