Cleanup for inclusion in XDAQ trunk.
Do not set XDAQ_PLATFORM.
Ignore object directories, too.