Add librt to the build process for clock_gettime.  Try a different approach to updating the variable in  since zend_hash_* functions seem to hate me.