make it cross-compile friendly