More robust project parsing and fixed the emacs make install binary copying