Marked string_ref and timer as exported classes

This is a small change but it does fix a link error on Windows.