fixes for unit tests when boost not available