Ubuntu fixes for server