Make project changes to files, add posibility to set linking either static or dynamic

Signed-off-by: Frca <killerfrca@gmail.com>