make check for platform when installing libs.