build fixed on linux (Pull request #12) again:), other small fixes