fix defines
fix installation