Updated makefile; makes bin, lib and obj dirs if they don't exist