Fixed linux uncompability issues