Changes to ensure BeOS plugins compile and function