fixed Ubuntu and SuSE builds