Fixed Makefile to support Linux and Cygwin(windows), added Prefix and Sh...

...ared Variable.

Should support building on Linux and Cygwin with Gnu-GCC, without trouble.