closes #1648 I also added some more extern functions for darwin time functions, although nothing depends on them currently.