No more linking source to distribution dir; fixed tests