Add macro for checking pow of 2