Added libs, build commands, fixed warnings.