Fixes for running tests on ubuntu 13.10 64 bit