configure file modifiled

Configure file is modified to support different OS