Make project build and use xctool for tests