Local compiles bugfix

Signed-off-by: Soroush Rabiei <soroush.rabiei@gmail.com>