Modified makefile for building in Yocto (OpenEmbedded) build environment