Fixed some strange build errors on my laptop