added horrible hack to get tests to pass on linux