Fixed missing library and const cast
Added Linux Makefile