Fix makefile to automatically create the bin dir.