Makefile improvements

Makefile can now create automatically bin and lib folder in order to start to compile. This is done as dependency rule. Bin and lib folder are not included in the repository because the contains only binary files. Indeed it is nice to have them created automatically as part of the build process.