Various tweaks, addition of time.hpp

Fixed bug in SCommon in static library search.
Various tweaks.