Fixed bad -I flag.
Fixed compiler warnings in GCC.