Fixes sample building warning on Linux