Allow generation of time*.so

Original author: Andrew Stormont <andyjstormont@gmail.com>
Thanks to Jon Tibble for pointing out.