fixes for the linux environment