fix(kernel/environment): compilation warnings

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(util/thread): warning 'thread.cpp.o has no symbols'

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
chore(travis): fix Lua packages (Linux)
chore(travis): fix Lua packages (OSX)