Make proper definition for target object directories, and make qt tests running in multi objects directory