Fix for building on linux under www-data user

Signed-off-by: Ion Parau <iparau@mikogo.com>