still trying to get the order of calling autotools right