Really fix netbsd compilation

Change-Id: I8ba0edf554fc4d5059ef557db8d1999888343cfb