add -Os to compiler options
fix a compiler warning