Fixed Makefile to support Linux and Cygwin(windows), added Prefix and Shared Variable.
Should support building on Linux and Cygwin with Gnu-GCC, without trouble.