Add more flags to disable libraries
Supress warning for main()

We don't care for the return value. Once main() returns, it's over.
Fix typo