Support bsd environment