make the libs independent of OS system