Fix compile error on BP machine

#439 It still gives the performance warning, not sure what to do about that...