Fix Misc Compile Flags/Printf/Signed/Includes

Patch By Hans Petter Selasky