make config independent of platform