fixed #1676: Refactoring Makefile and eclipse project configuration for LINUX port.