Fixed all compiler warnings. Created libftp.a static lib