Fixed build errors on precise