Fix buildoptions for linux