1. works fine; 2. try cmake