Fix warnings. Switch to regular Makefile.