Fixed compilation issue when running unit tests from eclipse.