make DEFAULT_INSTALLDIR platform independent

fixes #12