Fix for GCC 4.8

Don't build unneeded tests

Change-Id: Ie513cbf5ad474324e15a2aa06fffd1e64e186710