Don't use strict modifyIORef'

This function is not available in GHC 7.4, and doesn't seem to be needed in our case