choose lib path for right OS