L bringup: fix open source sensors compiling

Change-Id: Ie1575677faf6260a42ed4f9454f35c4fb34e256e