- modifications for allowing compil on linux