improving compile speed

Signed-off-by: Bravocado <bravocado.project@gmail.com>