fix build problems on my system