deactivate gcc on osx
fix bug in forest copy constructor