Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.