tweaks to get examples building on linux