Merge "Add compile time check for statically linked libc" into lmp-dev