change library directories to ucfirst, linux fix