Fixes linux and windows building failure.