fixed some compatibility issues

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5900 19bc5d8c-e614-43d4-8b26-e1612bc8e597
OpenBTS working now

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5903 19bc5d8c-e614-43d4-8b26-e1612bc8e597