remove ubuntu specific code