fixed wrong dependency / Makefile made platform independent