don't build host library; fix includes, defines