trivial fix, and -> &&

Apparently a gcc compiler-specific extension